/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package conduitevoiture;

import java.util.*;

/**
 *
 * @author test
 */
public class TimerRafraichissement extends TimerTask{
    
    private Fenetre maPetiteFenetre;
    
    public TimerRafraichissement(Fenetre f)
    {
        this.maPetiteFenetre = f;
    }
    
    @Override
    public void run() {
        this.maPetiteFenetre.dessinerVoiture();
    }

}
